const express = require('express')
const router = express.Router()
const recommend_handler=require("../router_handler/recommend")

// 1. 导入验证表单数据的中间件
const expressJoi = require('@escook/express-joi')
// 2. 导入需要的验证规则对象
const { recommend_list_schema } = require('../schema/recommend')


router.post("/list",expressJoi(recommend_list_schema), recommend_handler.getList)
module.exports = router